ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 12 - No. 45)

What is the key characteristic of a local variable?
It can be used by any part of the program.
It can't be modified in the program.
It is only accessible within the block in which it is defined.
It can't be used within a procedure.

Förklaring

Local variables are only valid in the block they were created.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc